package main

func main() {
	bc := NewBlockChain()
	cli := CLI{bc}
	cli.Run()
	//bc.AddBlock("Jay大卖")
	//bc.AddBlock("范特西大卖")
	//bc.AddBlock("八度空间大卖")
	//bc.AddBlock("叶惠美大卖")
	//bc.AddBlock("七里香大卖")
	//for i, block := range bc.db {
	//
	//	fmt.Printf("当前区块高度=============：%d\n", i)
	//	fmt.Printf("前区块hash：%x\n", block.PreHash)
	//	fmt.Printf("当前区块hash：%x\n", block.Hash)
	//	fmt.Printf("当前区块data：%s\n", block.Data)
	//}
}
